import { ReactNode } from 'react'
import styles from "../css/HeaderList.module.scss"

interface IProps {
    title: string,
    children?: ReactNode
}

function HeaderList(props: IProps) {
    return (
        <div className={styles.row}>
            <div className={styles.pageHeader}>
                {props.title}
            </div>
            {/* 分类选择 */}
            {props.children}
        </div>
    )
}

export default HeaderList
